package com.hrbxlh.virtualization.enums;

/**
 * 角色枚举
 *
 * @author cheer
 */
public enum RoleEnum {

    STUDENT(1, "学生"),
    TEACHER(2, "教师"),
    SUPER_ADMIN(3, "超级管理员"),
    ADMIN(4, "普通管理员");

    private Integer code;

    private String message;

    RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
